<?php
class Tweet extends AppModel {
	var $name = 'Tweet';
	var $useTable = false;
	var $_schema = array(
		'username'	=> array('type'=>'string', 'length'=>'255'),
		'password'	=> array('type'=>'string', 'length'=>'255'),
		'message'	=> array('type'=>'string')
	);
	
	var $validate = array(
		'username'	=> array(
			'rule'			=> 'url',
			'required'		=> true,
			'message'		=> '* URLを正しくご記入ください'
		)
	);
}
?>
